<%--
功能: 文章有效日期选择
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ attribute name="validPeriod" required="true" description="有效期" %>
<input type="radio" id="validPeriod_never" name="validPeriod" value="0" <c:if test="${validPeriod==0 or empty validPeriod}">checked</c:if>></input>
<label for="validPeriod_never"><fmt:message key="content.validPeriod.neverInvalid"/></label>
&nbsp;
<input type="radio" id="validPeriod_7days" name="validPeriod" value="1" <c:if test="${validPeriod==1}">checked</c:if>></input>
<label for="validPeriod_7days"><fmt:message key="content.validPeriod.7days"/></label>
&nbsp;
<input type="radio" id="validPeriod_15days" name="validPeriod" value="2" <c:if test="${validPeriod==2}">checked</c:if>></input>
<label for="validPeriod_15days"><fmt:message key="content.validPeriod.15days"/></label>
&nbsp;
<input type="radio" id="validPeriod_30days" name="validPeriod" value="3" <c:if test="${validPeriod==3}">checked</c:if>></input>
<label for="validPeriod_30days"><fmt:message key="content.validPeriod.30days"/></label>
&nbsp;
<input type="radio" id="validPeriod_60days" name="validPeriod" value="4" <c:if test="${validPeriod==4}">checked</c:if>></input>
<label for="validPeriod_60days"><fmt:message key="content.validPeriod.60days"/></label>
&nbsp;
<input type="radio" id="validPeriod_90days" name="validPeriod" value="5" <c:if test="${validPeriod==5}">checked</c:if>></input>
<label for="validPeriod_90days"><fmt:message key="content.validPeriod.90days"/></label>
&nbsp;
<input type="radio" id="validPeriod_180days" name="validPeriod" value="6" <c:if test="${validPeriod==6}">checked</c:if>></input>
<label for="validPeriod_180days"><fmt:message key="content.validPeriod.180days"/></label>
